package entity;

/**
 * 操作结果
 * 需要在网络中传输，需要实现序列化接口
 */
public class MyResult implements java.io.Serializable {
    private boolean success;
    private String message;

    public MyResult(boolean success, String message) {
        this.success = success;
        this.message = message;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
